package com.tjmc.tiomscore.dao;

import com.tjmc.tiomscore.model.TranPtnSnn;
import com.tjmc.tiomscore.model.TranPtnSnnExample;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface TranPtnSnnMapper {
    long countByExample(TranPtnSnnExample example);

    int deleteByExample(TranPtnSnnExample example);

    int deleteByPrimaryKey(Long id);

    int insert(TranPtnSnn record);

    int insertSelective(TranPtnSnn record);

    List<TranPtnSnn> selectByExample(TranPtnSnnExample example);

    TranPtnSnn selectByPrimaryKey(Long id);

    int updateByExampleSelective(@Param("record") TranPtnSnn record, @Param("example") TranPtnSnnExample example);

    int updateByExample(@Param("record") TranPtnSnn record, @Param("example") TranPtnSnnExample example);

    int updateByPrimaryKeySelective(TranPtnSnn record);

    int updateByPrimaryKey(TranPtnSnn record);
}